package com.zbs.framework.dao.function.repository;

import com.zbs.framework.dao.function.entity.FunctionPermission;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface FunctionPermissionRepository extends JpaRepository<FunctionPermission, Long>, JpaSpecificationExecutor<FunctionPermission> {

    void deleteAllByFunctionId(Long functionId);
}
